<?php
namespace app\ctrl;

use app\model\UserInterface;

class indexCtrl{
    protected $user;
    public function __construct(UserInterface $user) {
        $this->user = $user;
    }

    public function index(){
        $res = $this->user->getAll();
        dump($res);
    }
}